﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Demo_KCurveAPI
{
  class StockQuoteInterface
  {
    public StockQuoteInterface()
    {
      QuoteDateList = new List<string>();
      QuotePriceList = new List<double>();
    }
    public StockQuoteInterface(DateTime QuoteStartTime, DateTime PauseStartTime, DateTime PauseEndTime, DateTime QuoteEndTime)
    {
      this.QuoteStartTime = QuoteStartTime;
      this.PauseStartTime = PauseStartTime;
      this.PauseEndTime = PauseEndTime;
      this.QuoteEndTime = QuoteEndTime;
    }
    /// <summary>
    /// windcode
    /// </summary>
    public string Windcode { get; set; }
    /// <summary>
    /// 简称
    /// </summary>
    public string ShortName { get; set; }
    /// <summary>
    /// 当前时间
    /// </summary>
    public string CurrentDate { get; set; }
    /// <summary>
    /// 当前价格
    /// </summary>
    public string CurrentPrice { get; set; }
    /// <summary>
    /// 涨跌
    /// </summary>
    public string Swing { get; set; }
    /// <summary>
    /// 涨跌幅%
    /// </summary>
    public string SwingPercent { get; set; }
    /// <summary>
    /// 涨跌标识
    /// </summary>
    public bool IsDown { get; set; }
    /// 行情时间列表
    /// </summary>
    public List<string> QuoteDateList { get; set; }
    /// <summary>
    /// 行情价格列表
    /// </summary>
    public List<double> QuotePriceList { get; set; }
    /// <summary>
    /// 昨日收盘价
    /// </summary>
    public double YestodayPrice { get; set; }
    /// <summary>
    /// 行情开始时间
    /// </summary>
    public DateTime QuoteStartTime { get; set; }
    /// <summary>
    /// 行情结束时间
    /// </summary>
    public DateTime QuoteEndTime { get; set; }
    /// <summary>
    /// 休市开始时间
    /// </summary>
    public DateTime PauseStartTime { get; set; }
    /// <summary>
    /// 休市结束时间
    /// </summary>
    public DateTime PauseEndTime { get; set; }
  }
}
